* xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 May 2011 16:16:40 +0000 (09:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 May 2011 16:16:40 +0000 (09:16 -0700)
commit1acf6890a858ff68e5d5712b4047d9012ae7b4e0
treea6a3c3abe7ea313393f672ad2452e04d9180badd
parentd9f97b284a0c18b722af90077d869699a0830d66
* xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes

that always fit in int.  Use a sentinel instead of a counter, to
avoid a temp and to allay GCC's concerns about possible int overflow.
src/ChangeLog
src/xmenu.c